package com.apesource.mallproject.service;

import com.apesource.mallproject.pojo.Advertising;

import java.math.BigInteger;
import java.util.List;

public interface IAdService {
    public List<Advertising> queryAll();

    public void insertAd(Advertising ad);

    public void updateAd(Advertising ad);

    //删除一个
    public void delOne(BigInteger id);

    //批量删除
    public void batchDel(String[] ids);
}
